<template>
	<div class="addModel">
		<view class="column">
			<view class="title">类型</view>
			<input class="uni-input" name="input" placeholder="类型" v-model="type" />
		</view>
		<view class="column">
			<view class="title">tags</view>
			<input class="uni-input" name="input" placeholder="tags" v-model="tags" />
		</view>
		<view class="column">
			<view class="title">是否精选</view>
			<switch @change="switch1Change" />
		</view>
	</div>
</template>

<script>
export default {

	data() {
		return {
			isSift: false,
			tags: '',
			type: '',
		}
	},
	methods: {
		switch1Change(e) {
			this.isSift = e.detail.value
		},

	}
}
</script>

<style scoped lang="less">
.addModel {
	margin: 20px 50px;

	>.column {
		display: flex;

		>view {
			margin-right: 10px;
		}
	}

}
</style>